package com.sumainfor.pc.epc.service.impl.gmio;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.dao.Gmio.RentHeadMapper;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: Mr.Wang
 * @create: 2019-08-28 10:20
 **/
@Service
public class RentHeadService implements Serializable {

    @Autowired
    RentHeadMapper rentHeadMapper;

    /**
     * 新房验收未通过
     * @author zhoucong
     * @data 2019/8/28
     * @Param
     * @return
     */
    public JsonResult getNoacceptance(Map<String,Object> params){
        JsonResult result = new JsonResult();
        Map<String,Object> zcMap = new HashMap<>();
        zcMap.put("Noacceptance",rentHeadMapper.getNoacceptance(params));
        return result.put(zcMap);
    }
}
